package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetThemeListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2015-5-13   下午5:13:16
 */
@XmlRootElement
public class GetThemeListResp extends SuperResp {

	/** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 4083684275528915589L;
	private Integer recordSize;
	private List<ThemeInfo> themeInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<ThemeInfo> getThemeInfos() {
		return themeInfos;
	}

	public void setThemeInfos(List<ThemeInfo> themeInfos) {
		this.themeInfos = themeInfos;
	}

	@Override
	public String toString() {
		return "GetThemeListResp [recordSize=" + recordSize + ", themeInfos="
				+ themeInfos + ", getResultCode()=" + getResultCode()
				+ ", getResultDesc()=" + getResultDesc() + "]";
	}

	public static class ThemeInfo implements Serializable{

		/** 
		* @Fields serialVersionUID : TODO
		*/ 
		private static final long serialVersionUID = 1072674901633140426L;
		private String code;
		private String name;
		private String startTime;
		private String endTime;
		private Integer partinTimes;
		private String profile;
		private String themePoster;
		private String themePosterhd;
		private Integer limitNum;
		private Long cpCode;
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getStartTime() {
			return startTime;
		}
		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}
		public String getEndTime() {
			return endTime;
		}
		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}
		public Integer getPartinTimes() {
			return partinTimes;
		}
		public void setPartinTimes(Integer partinTimes) {
			this.partinTimes = partinTimes;
		}
		public String getProfile() {
			return profile;
		}
		public void setProfile(String profile) {
			this.profile = profile;
		}
		public String getThemePoster() {
			return themePoster;
		}
		public void setThemePoster(String themePoster) {
			this.themePoster = themePoster;
		}
		public String getThemePosterhd() {
			return themePosterhd;
		}
		public void setThemePosterhd(String themePosterhd) {
			this.themePosterhd = themePosterhd;
		}
		public Integer getLimitNum() {
			return limitNum;
		}
		public void setLimitNum(Integer limitNum) {
			this.limitNum = limitNum;
		}
		public Long getCpCode() {
			return cpCode;
		}
		public void setCpCode(Long cpCode) {
			this.cpCode = cpCode;
		}
		@Override
		public String toString() {
			return "ThemeInfo [code=" + code + ", name=" + name + ", cpCode="
					+ cpCode + "]";
		}
	}
}
